package com.coldchain.cys.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author tianpeng
 * @since 2018-09-11
 */
@TableName("t_cys_child")
public class CysChild implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 承运商子账号
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 承运商关联id
     */
	private Long cid;
    /**
     * 承运商子账号登录账号
     */
	private String phone;
    /**
     * 承运商子账号登录密码
     */
	private String password;
    /**
     * 承运商子账号角色
     */
	private String roleid;
    /**
     * 承运商子账号名称
     */
	private String name;
    /**
     * 承运商子账号创建时间
     */
	private Date createtime;
    /**
     * 乐观锁
     */
	@Version
	private Integer version;
    /**
     * 是否被禁用0正常 -1禁用
     */
	private Integer isuse;
    /**
     * 是否被删除0正常 -1删除
     */
	@TableLogic
	private Integer isdel;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRoleid() {
		return roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getIsuse() {
		return isuse;
	}

	public void setIsuse(Integer isuse) {
		this.isuse = isuse;
	}

	public Integer getIsdel() {
		return isdel;
	}

	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}

}
